.layui-m-layer {
    position: relative;
    z-index: 19891014;
    user-select: none;
}

.layui-m-layer * {
    box-sizing: content-box
}

.layui-m-layermain, .layui-m-layershade {
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%
}

.layui-m-layershade {
    background-color: rgba(0, 0, 0, .5);
    pointer-events: auto
}

.layui-m-layermain {
    display: table;
    font-family: Helvetica, arial, sans-serif;
    pointer-events: none;
}

.layui-m-layermain .layui-m-layersection {
    display: table-cell;
    vertical-align: middle;
    text-align: center
}

.layui-m-layerchild {
    position: relative;
    display: inline-block;
    text-align: left;
    background-color: #fff;
    border-radius: 15px;
    box-shadow: 0 0 8px rgba(0, 0, 0, .1);
    overflow: hidden;
    pointer-events: auto;
    -webkit-overflow-scrolling: touch;
    -webkit-animation-fill-mode: both;
    animation-fill-mode: both;
    animation-duration: .3s
}

@keyframes layui-m-anim-scale {
    0% {
        opacity: 0;
        transform: scale(.5)
    }
    100% {
        opacity: 1;
        transform: scale(1)
    }
}

.layui-m-anim-scale {
    animation-name: layui-m-anim-scale;
}

.layui-m-layer0 .layui-m-layerchild {
    width: 75%;
    max-width: 640px;
}

.layui-m-layer1 .layui-m-layerchild {
    border: none;
    border-radius: 7px;
}

.layui-m-layer2 .layui-m-layerchild {
    width: auto;
    max-width: 120px;
    min-width: 40px;
    border: none;
    background: 0 0;
    box-shadow: none;
    color: #fff
}

.layui-m-layerchild h3 {
    font-weight: normal;
    position: relative;
    font-size: 16px;
    color: #212121;
    padding: 15px 15px 10px 15px;
}

.layui-m-layerbtn span, .layui-m-layerchild h3 {
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap
}

.layui-m-layercont {
    padding: 5px 15px 15px;
    line-height: 1.5;
}

.layui-m-layer1 .layui-m-layercont {
    padding: 10px;
    text-align: left
}

.layui-m-layer2 .layui-m-layercont>.loading-ka {
    width: 1rem;
}

.layui-m-layerbtn, .layui-m-layerbtn span {
    position: relative;
}

.layui-m-layerbtn {
    width: 100%;
    padding-bottom: 10px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.layui-m-layerbtn span {
    font-size: 15px;
    padding: 6px 15px;
    border-radius: 25px;
    margin-right: 10px;
    overflow: hidden;
}

.layui-m-layerbtn span[yes] {
    background-color: $theme-color;
    color: #fff;
}

.layui-m-layerbtn span[no] {
    color: #5c5c5c;
}

.layui-m-layerbtn span:active {
    opacity: 0.8;
}

body .layui-m-layer .layui-m-layer-msg {
    width: auto;
    max-width: 90%;
    margin: 0 auto;
    bottom: -200px;
    background-color: rgba(0, 0, 0, .9);
    color: #fff
}

.layui-m-layer-msg .layui-m-layercont {
    padding: 6px 15px;
    line-height: normal;
}

@keyframes layui-m-anim-up {
    0% {
        opacity: 0;
        transform: translateY(800px)
    }
    100% {
        opacity: 1;
        transform: translateY(0)
    }
}

.layui-m-anim-up {
    animation-name: layui-m-anim-up
}